package mycourse.bean;

public class Course {
    private int id;
    private String number;
    private String name;
    private String xueshi;
    private String xuefeng;
    private String type;
    private String xueqi;

    public Course(int id, String number, String name, String xueshi, String xuefeng, String type, String xueqi) {

        this.id = id;
        this.number = number;
        this.name = name;
        this.xueshi = xueshi;
        this.xuefeng = xuefeng;
        this.type = type;
        this.xueqi = xueqi;
    }

    public Course() {
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setXueshi(String xueshi) {
        this.xueshi = xueshi;
    }

    public void setXuefeng(String xuefeng) {
        this.xuefeng = xuefeng;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setXueqi(String xueqi) {
        this.xueqi = xueqi;
    }

    public int getId() {
        return id;
    }

    public String getNumber() {
        return number;
    }

    public String getName() {
        return name;
    }

    public String getXueshi() {
        return xueshi;
    }

    public String getXuefeng() {
        return xuefeng;
    }

    public String getType() {
        return type;
    }

    public String getXueqi() {
        return xueqi;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", xueshi='" + xueshi + '\'' +
                ", xuefeng='" + xuefeng + '\'' +
                ", type='" + type + '\'' +
                ", xueqi='" + xueqi + '\'' +
                '}';
    }
}
